xen.git
20 years agoFixed consoled race condition.
cl349@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 10:13:52 +0000 (10:13 +0000)]
Fixed consoled race condition.
Signed-off by: Andy Peace <andrew.peace@xensource.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoPrevent opening the xenbus device if the store isn't connected yet.
cl349@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 10:05:49 +0000 (10:05 +0000)]
Prevent opening the xenbus device if the store isn't connected yet.
Running xenstore clients using the xenbus device before the store
connection has been set up causes a crash because the store page
won't have been allocated yet.  This is only a problem in dom0 where
we setup the store page from the PRIVCMD_INITDOMAIN_STORE ioctl.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 09:11:58 +0000 (09:11 +0000)]
merge?

20 years agoFix a bug in shadow_remove_all_access_in_page.
kaf24@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 09:09:59 +0000 (09:09 +0000)]
Fix a bug in shadow_remove_all_access_in_page.

Fixes a fairly obvious bug, in which an if statement was reversed.  The
bug has been present for a while, so apparently this code isn't well
tested.

Signed-off-by: Michael Vrable <mvrable@cs.ucsd.edu>
20 years agoFix up testsuite from recent changes.
cl349@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 09:09:13 +0000 (09:09 +0000)]
Fix up testsuite from recent changes.

(1) Make TESTDIR relative (my directory exceeded 108 chars, breaking sockets)
(2) Make TESTDIR if it doesn't exist
(3) Add dummy xc_domain_getinfo and xc_evtchn_bind_virq for fake libxc
(4) Fix tests broken by b594bb976a743d509f1ffabb5bc698874ab90d8f
(5) domain_cleanup() can be static, as it's not used elsewhere.
(6) With -Werror, "use" unused variable in domain_init() if TESTING
(7) Remove debugging printf on watch without perms.
(8) Loosen timeout in xs_test (valgrind + slow machine == bogus timeouts)

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (authored)
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoPut xenstored.h in linux-public include dir.
cl349@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 08:35:41 +0000 (08:35 +0000)]
Put xenstored.h in linux-public include dir.
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoAlways allow overriding where clients connect through XENSTORED_PATH.
cl349@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 21:42:26 +0000 (21:42 +0000)]
Always allow overriding where clients connect through XENSTORED_PATH.
Detect if we're connecting to a socket or to the domain device and
open accordingly.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoChange xenbus_dev interface from ioctl to read/write.
cl349@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 21:12:16 +0000 (21:12 +0000)]
Change xenbus_dev interface from ioctl to read/write.
Check boundaries so we can recover if userspace dies.
Also simplifies libxenstore.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoAdd xenstore-list and xenstore-exists clients
cl349@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 20:46:37 +0000 (20:46 +0000)]
Add xenstore-list and xenstore-exists clients
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoCheck the return value of chdir(2) and write(2).
cl349@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 20:24:58 +0000 (20:24 +0000)]
Check the return value of chdir(2) and write(2).
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 20:00:41 +0000 (20:00 +0000)]
merge?

20 years agoSwitch vtpm device setup/teardown over to xstransact.
cl349@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 19:59:40 +0000 (19:59 +0000)]
Switch vtpm device setup/teardown over to xstransact.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoSwitch block device setup/teardown over to xstransact.
cl349@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 19:55:57 +0000 (19:55 +0000)]
Switch block device setup/teardown over to xstransact.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoRemove debug output.
cl349@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 19:49:59 +0000 (19:49 +0000)]
Remove debug output.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoMove block device bind/unbind into hotplug scripts.
cl349@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 19:49:03 +0000 (19:49 +0000)]
Move block device bind/unbind into hotplug scripts.
Fixes file: devices since unbind now runs after the backend driver
closes the loopback device.
Also moves name -> node translation into the backend domain.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoDon't remove backend store directory before device_unregister.
cl349@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 19:46:30 +0000 (19:46 +0000)]
Don't remove backend store directory before device_unregister.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoExport backend device store path to hotplug script.
cl349@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 19:45:54 +0000 (19:45 +0000)]
Export backend device store path to hotplug script.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoThis patch remove the L2 pin for 1:1 page table on control panel.
kaf24@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 17:48:07 +0000 (17:48 +0000)]
This patch remove the L2 pin for 1:1 page table on control panel.
L2 pin for 1:1 page table on control panel cause entries for top 64M
address changed by alloc_l2_table().

Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
20 years agoThe last vnet patch was missing some files that had been added
kaf24@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 14:11:59 +0000 (14:11 +0000)]
The last vnet patch was missing some files that had been added
to my tree but did not appear in 'hg diff'. This patch adds them.

Signed-off-by: Mike Wray <mike.wray@hp.com>
20 years agoRe-indent xc_linux_restore, and add code to force PAE
kaf24@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 12:48:33 +0000 (12:48 +0000)]
Re-indent xc_linux_restore, and add code to force PAE
root pgdirs below 4GB on restore.

Signed-off-by: Ian Pratt <ian@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 12:32:20 +0000 (12:32 +0000)]
merge?

20 years agoAlways fire watches, even on the connection which caused the watch to fire.
cl349@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 12:31:41 +0000 (12:31 +0000)]
Always fire watches, even on the connection which caused the watch to fire.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoXen_version hypercalls takes two args, not one.
kaf24@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 12:29:40 +0000 (12:29 +0000)]
Xen_version hypercalls takes two args, not one.

Signed-off-by: Ian Pratt <ian@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agomlock argument to version hypercall in libxc.
kaf24@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 12:17:31 +0000 (12:17 +0000)]
mlock argument to version hypercall in libxc.

Signed-off-by: Ian Pratt <ian@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoImprove debug tracing from HYPERVISOR_memory_op().
kaf24@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 12:10:43 +0000 (12:10 +0000)]
Improve debug tracing from HYPERVISOR_memory_op().

Signed-off-by: Ian Pratt <ian@xensource.com>
20 years agoremoving XEN_LOCALVERSION for a smaller alternative
vh249@arcadians.cl.cam.ac.uk [Mon, 12 Sep 2005 10:54:30 +0000 (10:54 +0000)]
removing XEN_LOCALVERSION for a smaller alternative

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
20 years agoRe-indent vmx code.
kaf24@firebug.cl.cam.ac.uk [Sun, 11 Sep 2005 16:44:23 +0000 (16:44 +0000)]
Re-indent vmx code.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoYes, that fixes the problem, our patches crossed. I saw Keir already
kaf24@firebug.cl.cam.ac.uk [Sun, 11 Sep 2005 16:36:24 +0000 (16:36 +0000)]
Yes, that fixes the problem, our patches crossed. I saw Keir already
integrated my patch and while it is harmless, it is redundant and
here is the diff to take it out.

The patch also addresses some indent problems and aligns instructions
up with the rest of the block.

Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
20 years agoadd XEN_LOCALVERSION to the dist building process
vh249@arcadians.cl.cam.ac.uk [Sun, 11 Sep 2005 16:34:38 +0000 (16:34 +0000)]
add XEN_LOCALVERSION to the dist building process

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
20 years agoAn FC4/i386 install inside VMX on an x86_64 system fails because byte
kaf24@firebug.cl.cam.ac.uk [Sun, 11 Sep 2005 09:28:21 +0000 (09:28 +0000)]
An FC4/i386 install inside VMX on an x86_64 system fails because byte
size is not handled by __set_reg_value. This patch adds that support.

This patch also reindents Chengyuan Li cmpb patch so that is aligns
with the rest of the code in that block.

Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
20 years agoRestore NULL checks before calling kfree().
cl349@firebug.cl.cam.ac.uk [Sat, 10 Sep 2005 20:14:50 +0000 (20:14 +0000)]
Restore NULL checks before calling kfree().
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoadd a simple usage string to xenconsoled
vh249@arcadians.cl.cam.ac.uk [Sat, 10 Sep 2005 14:44:31 +0000 (14:44 +0000)]
add a simple usage string to xenconsoled

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
20 years agofix ballooning out logic to handle dying domain freeing memory.
vh249@arcadians.cl.cam.ac.uk [Sat, 10 Sep 2005 14:43:46 +0000 (14:43 +0000)]
fix ballooning out logic to handle dying domain freeing memory.

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
20 years agouse XEN_FULLVERSION variable where possible
vh249@arcadians.cl.cam.ac.uk [Sat, 10 Sep 2005 14:42:39 +0000 (14:42 +0000)]
use XEN_FULLVERSION variable where possible

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
20 years agoremove pointless NULL check before calling kfree
vh249@arcadians.cl.cam.ac.uk [Sat, 10 Sep 2005 14:41:16 +0000 (14:41 +0000)]
remove pointless NULL check before calling kfree

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
20 years agoconvert initializers to C99 initializers
vh249@arcadians.cl.cam.ac.uk [Sat, 10 Sep 2005 14:38:01 +0000 (14:38 +0000)]
convert initializers to C99 initializers

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
20 years agoWith this patch, 32-bit binary can work on 64-bit VMX guest.
kaf24@firebug.cl.cam.ac.uk [Sat, 10 Sep 2005 14:24:39 +0000 (14:24 +0000)]
With this patch, 32-bit binary can work on 64-bit VMX guest.

Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Asit Mallick <asit.k.mallick@intel.com>
20 years agoThis patch fixes xenlinux timer interrupt.
kaf24@firebug.cl.cam.ac.uk [Sat, 10 Sep 2005 14:22:12 +0000 (14:22 +0000)]
This patch fixes xenlinux timer interrupt.

In xenlinux timer interrupt variable cpu is sometimes uesd in a for
loop, but later it is used to access per cpu data i.e.
per_cpu(processed_system_time, cpu), which causes an invalid pointer.

Signed-off-by: Xin Li <xin.b.li@intel.com>
20 years agoThis patch fix a bug in set_reg_value() for x86_64 VMX guest.
kaf24@firebug.cl.cam.ac.uk [Sat, 10 Sep 2005 14:20:29 +0000 (14:20 +0000)]
This patch fix a bug in set_reg_value() for x86_64 VMX guest.

Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
20 years agoOne more instruction for the VMX MMIO decoder.
kaf24@firebug.cl.cam.ac.uk [Sat, 10 Sep 2005 14:19:09 +0000 (14:19 +0000)]
One more instruction for the VMX MMIO decoder.
This patch is to handle the instruction with opcode 0x80.
Without this patch, the 64-bit VMX guest can't boot.

Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
20 years agoFix bug that service os & vmx guest can't communicate with
kaf24@firebug.cl.cam.ac.uk [Sat, 10 Sep 2005 14:17:02 +0000 (14:17 +0000)]
Fix bug that service os & vmx guest can't communicate with
each other. The bug was physical packets smaller than
minimal packet size of 60 bytes were gettign thrown away.
Hence ARP traffic for example was dropped.

Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
20 years agoFix xm info handling of empty strings (fix bugzilla bug #216)
shand@ubuntu.eng.hq.xensource.com [Fri, 9 Sep 2005 23:11:18 +0000 (15:11 -0800)]
Fix xm info handling of empty strings (fix bugzilla bug #216)

Signed-off-by: Steven Hand <steven@xensource.com>
20 years agoFix 'xm info' (sizeof(param) doesn't do that one might hope).
shand@ubuntu.eng.hq.xensource.com [Fri, 9 Sep 2005 18:36:48 +0000 (10:36 -0800)]
Fix 'xm info' (sizeof(param) doesn't do that one might hope).

Signed-off-by: Steven Hand <steven@xensource.com>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 17:40:39 +0000 (17:40 +0000)]
merge?

20 years agoMake vif cleanup use xstransact and use classmethods for setup.
cl349@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 17:36:39 +0000 (17:36 +0000)]
Make vif cleanup use xstransact and use classmethods for setup.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoAdd remove and list support. Also make all class methods "safe".
cl349@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 17:34:40 +0000 (17:34 +0000)]
Add remove and list support.  Also make all class methods "safe".
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoOnly retry transactions which fail from timeout.
cl349@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 17:03:34 +0000 (17:03 +0000)]
Only retry transactions which fail from timeout.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agocommon/kernel.o contains changeset/compiler info.
kaf24@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 16:26:20 +0000 (16:26 +0000)]
common/kernel.o contains changeset/compiler info.
Blow away on every build.

20 years agocleanups
kaf24@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 16:17:17 +0000 (16:17 +0000)]
cleanups

20 years agoSetup network devices in xenstore using xstransact.
cl349@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 16:08:17 +0000 (16:08 +0000)]
Setup network devices in xenstore using xstransact.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoRemove dependency between domain db and path/uuid.
cl349@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 16:07:26 +0000 (16:07 +0000)]
Remove dependency between domain db and path/uuid.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoAlways start transactions on an existing path.
cl349@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 16:06:04 +0000 (16:06 +0000)]
Always start transactions on an existing path.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoThe patch allows the shadow mode code to support >4GB physical memory. I
kaf24@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 15:52:52 +0000 (15:52 +0000)]
The patch allows the shadow mode code to support >4GB physical memory. I
tested VMX domains on an x86_64 machine with >4GB; it fails without this
change. This should be applicable to PAE as well.

This patch is good for up to 32GB RAM.

Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
20 years agoAdd more version and capability reporting to Xen. Print the results with 'xm info'.
iap10@freefall.cl.cam.ac.uk [Fri, 9 Sep 2005 15:33:32 +0000 (15:33 +0000)]
Add more version and capability reporting to Xen. Print the results with 'xm info'.
Signed-off-by: ian@xensource.com
20 years agopagefault handler fixes.
kaf24@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 13:28:23 +0000 (13:28 +0000)]
pagefault handler fixes.

20 years agoAdd simple transactional read/write python xenstore interface.
cl349@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 13:20:51 +0000 (13:20 +0000)]
Add simple transactional read/write python xenstore interface.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoMake error reporting consistent.
cl349@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 13:08:25 +0000 (13:08 +0000)]
Make error reporting consistent.
Also note addition of Py_BEGIN_ALLOW_THREADS/Py_END_ALLOW_THREADS
which slipped in in previous merge changeset:  allow other threads
to run during communication with xenstored.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 10:20:25 +0000 (10:20 +0000)]
merge?

20 years agoXenbus implementation ported from Linux to Mini-os, simple thread support introduced
kaf24@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 09:24:25 +0000 (09:24 +0000)]
Xenbus implementation ported from Linux to Mini-os, simple thread support introduced
to simplify the porting. 64 bit version of Mini-os now compiles, but does not work
because of the pagetables and some bits of scheduler not being written.

Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
20 years agoFix blkfront request completion.
kaf24@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 09:13:45 +0000 (09:13 +0000)]
Fix blkfront request completion.

20 years agoIt was suggested on the xen-users list that it would be useful if the
kaf24@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 09:07:59 +0000 (09:07 +0000)]
It was suggested on the xen-users list that it would be useful if the
loopback driver could instantiate an arbitrary number of interfaces, so
the attached patch does that.

[Also retab at the same time]

20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 08:56:38 +0000 (08:56 +0000)]
merge?

20 years agotpmback compilation fix.
cl349@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 08:56:14 +0000 (08:56 +0000)]
tpmback compilation fix.
A small patch to fix some compilation problems and debugging output.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoBug fix on x86_64 increase_reservation
iap10@firebug.cl.cam.ac.uk [Thu, 8 Sep 2005 20:39:58 +0000 (20:39 +0000)]
Bug fix on x86_64 increase_reservation
Signed-off-by: ian@xensource.com
20 years agoTest CD needs devfs
iap10@firebug.cl.cam.ac.uk [Thu, 8 Sep 2005 19:14:51 +0000 (19:14 +0000)]
Test CD needs devfs
Signed-off-by: ian@xensource.com
20 years agoNo need to qsort the pfn array in domu builder.
kaf24@firebug.cl.cam.ac.uk [Thu, 8 Sep 2005 17:47:48 +0000 (17:47 +0000)]
No need to qsort the pfn array in domu builder.

20 years agomerge
iap10@freefall.cl.cam.ac.uk [Thu, 8 Sep 2005 17:42:49 +0000 (17:42 +0000)]
merge

20 years agomanual merge
iap10@freefall.cl.cam.ac.uk [Thu, 8 Sep 2005 17:40:37 +0000 (17:40 +0000)]
manual merge

20 years agoBuild fix.
kaf24@firebug.cl.cam.ac.uk [Thu, 8 Sep 2005 17:36:37 +0000 (17:36 +0000)]
Build fix.

20 years agoImproved "PGDs must be under 4GB" handling for PAE.
iap10@freefall.cl.cam.ac.uk [Thu, 8 Sep 2005 17:36:23 +0000 (17:36 +0000)]
Improved "PGDs must be under 4GB" handling for PAE.
Signed-off-by: ian@xensource.com
20 years agoFixes to sub 4GB allocator
iap10@freefall.cl.cam.ac.uk [Thu, 8 Sep 2005 17:35:44 +0000 (17:35 +0000)]
Fixes to sub 4GB allocator
Signed-off-by: ian@xensource.com
20 years agogrant_table.c reindent.
kaf24@firebug.cl.cam.ac.uk [Thu, 8 Sep 2005 17:29:02 +0000 (17:29 +0000)]
grant_table.c reindent.
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoRename get_order() to get_order_from_bytes() and add
kaf24@firebug.cl.cam.ac.uk [Thu, 8 Sep 2005 17:25:52 +0000 (17:25 +0000)]
Rename get_order() to get_order_from_bytes() and add
new function get_order_from_pages(). Fix
HYPERVISOR_memory_op(), properly this time.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoCleanups, and fix allocating DMA memory via
kaf24@firebug.cl.cam.ac.uk [Thu, 8 Sep 2005 15:22:01 +0000 (15:22 +0000)]
Cleanups, and fix allocating DMA memory via
HYPERVISOR_memory_op().
Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoGive each domain some memory below 4GB. This solves the "PGD's must be below 4GB...
iap10@freefall.cl.cam.ac.uk [Thu, 8 Sep 2005 01:07:15 +0000 (01:07 +0000)]
Give each domain some memory below 4GB. This solves the "PGD's must be below 4GB" for the initial page tables. I'm not sure we'll stick with this approach, but this is good enough for the time being.

PAE should be a *lot* more robust on systems that actually have more than 4GB thanks to all the various patches that went in today. I find it astounding that it ever appeared to work at all!

Signed-off-by: ian@xensource.com
20 years agoYet more PAE fixes, this time in the paravirt drivers.
iap10@freefall.cl.cam.ac.uk [Thu, 8 Sep 2005 01:00:04 +0000 (01:00 +0000)]
Yet more PAE fixes, this time in the paravirt drivers.
Signed-off-by: ian@xensource.com
20 years agoMore tools PAE fixes to avoid loosing high-order pte bits.
iap10@freefall.cl.cam.ac.uk [Wed, 7 Sep 2005 23:11:44 +0000 (23:11 +0000)]
More tools PAE fixes to avoid loosing high-order pte bits.
Signed-off-by: ian@xensource.com
20 years agoReplace direct_remap_area_pages with direct_remap_pfn_range to help fix PAE domain...
iap10@freefall.cl.cam.ac.uk [Wed, 7 Sep 2005 23:10:49 +0000 (23:10 +0000)]
Replace direct_remap_area_pages with direct_remap_pfn_range to help fix PAE domain building.
Signed-off-by: ian@xensource.com
20 years agoFix typo.
cl349@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 21:35:05 +0000 (21:35 +0000)]
Fix typo.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 21:34:17 +0000 (21:34 +0000)]
merge?

20 years agoMove console tty/limit information into console directory in domain dir.
cl349@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 21:24:34 +0000 (21:24 +0000)]
Move console tty/limit information into console directory in domain dir.
Also only store port number of console event channel.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoDisable device info getting written to store when xend restarts.
cl349@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 21:15:41 +0000 (21:15 +0000)]
Disable device info getting written to store when xend restarts.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoDisable sync dbmap saves -- they remove nodes added by other tools.
cl349@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 21:13:46 +0000 (21:13 +0000)]
Disable sync dbmap saves -- they remove nodes added by other tools.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoCreate /dev/xen/evtchn if it doesn't exist.
shand@ubuntu.eng.hq.xensource.com [Wed, 7 Sep 2005 20:30:00 +0000 (12:30 -0800)]
Create /dev/xen/evtchn if it doesn't exist.

Signed-off-by: Steven Hand <steven@xensource.com>
20 years agoDon't leak memory when realloc fails.
cl349@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 19:13:38 +0000 (19:13 +0000)]
Don't leak memory when realloc fails.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 19:01:31 +0000 (19:01 +0000)]
merge?

20 years agog/c unused xcs.
cl349@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 19:01:05 +0000 (19:01 +0000)]
g/c unused xcs.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agog/c unused xu extension.
cl349@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 18:37:55 +0000 (18:37 +0000)]
g/c unused xu extension.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agog/c unused control message code.
cl349@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 18:28:04 +0000 (18:28 +0000)]
g/c unused control message code.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoRemove control interface in kernels and domain builder.
cl349@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 17:43:56 +0000 (17:43 +0000)]
Remove control interface in kernels and domain builder.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agomerge
iap10@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 17:29:17 +0000 (17:29 +0000)]
merge

20 years agoTrivial fix for a nasty PAE bug.
iap10@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 17:28:49 +0000 (17:28 +0000)]
Trivial fix for a nasty PAE bug.
Signed-off-by: ian@xensource.com
20 years agoFix vif scripts for domains with more than one ip.
cl349@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 17:26:27 +0000 (17:26 +0000)]
Fix vif scripts for domains with more than one ip.
As reported in bug 218 by christian@prehl.de.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoRemove debug printk.
cl349@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 16:52:49 +0000 (16:52 +0000)]
Remove debug printk.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoAlways bind dom0 virqs to vcpu 0.
cl349@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 16:50:55 +0000 (16:50 +0000)]
Always bind dom0 virqs to vcpu 0.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoMake xenstored bind to domain exception virq directly, instead of via xcs.
cl349@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 15:53:04 +0000 (15:53 +0000)]
Make xenstored bind to domain exception virq directly, instead of via xcs.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoRemove python virq code.
cl349@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 14:19:05 +0000 (14:19 +0000)]
Remove python virq code.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoTrigger domain cleanup on @releaseDomain watch-event instead of domain exc. virq.
cl349@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 13:41:49 +0000 (13:41 +0000)]
Trigger domain cleanup on @releaseDomain watch-event instead of domain exc. virq.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoFix and cleanup error handling.
cl349@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 13:40:06 +0000 (13:40 +0000)]
Fix and cleanup error handling.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoAdd copyright notice and g/c some unused code.
cl349@firebug.cl.cam.ac.uk [Wed, 7 Sep 2005 12:49:52 +0000 (12:49 +0000)]
Add copyright notice and g/c some unused code.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>